package com.yunqiao.service.api.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunqiao.service.api.entity.ApplyWithdrawEntity;
import com.yunqiao.service.api.vo.ApplyWithdrawVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 合伙人申请表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:04:03
 */
@Mapper
public interface ApplyWithdrawMapper extends BaseMapper<ApplyWithdrawEntity> {

    IPage<ApplyWithdrawVo> pageList(Page<ApplyWithdrawEntity> page, @Param("ew") QueryWrapper<ApplyWithdrawEntity> queryWrapper);
    IPage<ApplyWithdrawVo> pageListPartner(Page<ApplyWithdrawEntity> page, @Param("ew") QueryWrapper<ApplyWithdrawEntity> queryWrapper);
    ApplyWithdrawVo details(@Param("id") Long id);


    ApplyWithdrawVo detailsPartner(@Param("id") Long id);
}
